package org.way.iam.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.way.iam.entity.SysDeptEntity;
import org.way.iam.mapper.SysDeptMapper;
import org.way.iam.service.ISysDeptService;

import java.util.List;

@Service
public class SysDeptService extends ServiceImpl<SysDeptMapper, SysDeptEntity> implements ISysDeptService {
    @Override
    public List<String> getDeptList(String userId) {
        return getBaseMapper().getDeptList(userId);
    }
}
